/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Portions created by the Initial Developer are
 * Copyright (C) 2012 the Initial Developer.
 * All Rights Reserved.
 *
 * The Original Code is this.
 *
 * The Initial Developer of the Original Code is the author below.
 */
/**
 * @file OcciTaskBase.h
 * @brief auto generated.
 * @author K.Ozaki
 * @date 2011/03/11
 */

#ifndef OCCITASKBASE_H_
#define OCCITASKBASE_H_

#include "semi/Controller.h"
#include "semi/db/OcciConnection.h"

namespace semi {

using namespace std;
using namespace oracle::occi;
using namespace semi::db;

class OcciTaskBase: public semi::Controller {
public:
    OcciTaskBase();
    virtual ~OcciTaskBase();

protected:
    virtual Param process(OcciConnection conn, Param params);
    virtual Param avoidProcess(Param params);
    virtual Param preProcess(OcciConnection conn, Param params);
    virtual Param endProcess(OcciConnection conn, Param params);

private:
    Param preProcess(Param params);
    Param process(Param params);
    Param endProcess(Param params);

};

}

#endif /* OCCITASKBASE_H_ */
